Ext.define('Fxt.stl-jy.view.Grid', {
    extend: 'Fxt.core.view.Grid',
    model: 'Fxt.stl-jy.Model',
    $selModel: 'MULTI',
    $audit: false,
    $newStore: function() {
        return Ext.create('Fxt.stl-jy.Store')
    },
    tbar: [{
        text: '新增系统小号交易',
        action: 'new-sys-jy'
    }, {
        text: '付款-自动生成截图',
        action: 'pay2-jy'
    }, {
        text: '确认收款',
        action: 'confirm-jy'
    }, {
        text: '新增交易',
        action: 'new-my-jy'
    }, {
        text: '新增小号交易(为了卖出)',
        action: 'new-sys-jy-4-sell'
    }, {
        text: '同步自己的账号',
        action: 'sync-my-account'
    }, '===================', {
        text: '付款',
        action: 'pay-jy'
    }],
    columns: [{
        text: 'buyerMobile',
        dataIndex: 'buyerMobile'
    }, {
        text: 'buyerRealName',
        dataIndex: 'buyerRealName'
    }, {
        text: 'status',
        dataIndex: 'status'
    }, {
        text: 'qty',
        dataIndex: 'qty'
    }, {
        text: 'amount',
        dataIndex: 'amount'
    }, {
        text: 'jyId',
        dataIndex: 'jyId'
    }, {
        text: 'owner',
        dataIndex: 'owner'
    }, {
        text: 'type',
        dataIndex: 'type'
    }, {
        text: 'platform',
        dataIndex: 'platform'
    }, {
        text: 'sellerMobile',
        dataIndex: 'sellerMobile'
    }, {
        text: 'sellerRealName',
        dataIndex: 'sellerRealName'
    }, {
        text: '创建时间',
        dataIndex: 'insertTime'
    }]
});